package com.zhb.cloud.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhb.cloud.sys.mapper.UserMapper;
import com.zhb.cloud.sys.model.User;
import com.zhb.cloud.sys.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findByUserName(String id) {
		return userMapper.selectByPrimaryKey(id);
	}
}
